package it.rikesh.aip2011.client.service;

import it.rikesh.aip2011.shared.model.FaunaFlora;
import it.rikesh.aip2011.shared.model.Trail;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface FaunaFloraServiceAsync {
    void getFaunaList(AsyncCallback<List<FaunaFlora>> callback);
    void getFaunaName(String id,AsyncCallback<String> callback);
    void getFaunaType(String id,AsyncCallback<String> callback);
    void getFaunaDetail(String id,AsyncCallback<String> callback);
    void getFaunaImg(String id,AsyncCallback<String> callback);
    void setFauna(String name,String detail,String img,String type,String trail,AsyncCallback<String> callback);
    void getTrailFauna(String id,AsyncCallback<List<Trail>> callback);
    void getFaunaId(String name,AsyncCallback<String> callback);
    void getFaunaByType(String type,AsyncCallback<List<FaunaFlora>> callback);
}
